package com.gxitsky.structural.proxy.jdk_dynamic3;

/**
 * @author gxing
 * @desc 测试类
 * @date 2023/6/3
 */
public class HelloMain {

    public static void main(String[] args) {
        HelloServiceProxy helloServiceProxy = new HelloServiceProxy();
        HelloService proxy = (HelloService)helloServiceProxy.bind(new HelloServiceImpl());
        proxy.sayHello("Kitty");
    }
}
